const http = uni.$u.http;

// 数据汇总
export const apiData = (data) => http.get('/stb.reward2/data', data)

// home
export const apiHome = (data) => http.get('/stb.index/home', data)

// 文章列表 /api/
export const apiArticleList = (data) => http.get('/stb.index/articleList', data)

//  文章详情 /api/
export const apiArticleDetail = (data) => http.get('/stb.index/articleDetail', data)

// 邀请二维码 /api/user/inviterQrcode
export const apiInviterQrcode = (data) => http.get('/user/inviterQrcode', data)

// 团队用户列表 /api/user/teamUsers
export const apiTeamUsers = (data) => http.get('/user/teamUsers', data)